package com.lagou.edu.service.impl;

import com.lagou.edu.service.UserServiceFeignClient;
import org.springframework.stereotype.Component;

@Component  // 别忘了这个注解，还应该被扫描到
public class UserServiceFallback implements UserServiceFeignClient {
    @Override
    public boolean isRegistered(String email) {
        return false;
    }

    @Override
    public String info(String token) {
        return null;
    }
}
